﻿using System.Collections.Generic;

namespace Colorful.Furniture.CommonDto;

/// <summary>
///  级联选项
/// </summary>
public class CascadeOptionOutputDto<TValue,TData>
{
    /// <summary>
    ///  标签
    /// </summary>
    public string Label { get; set; }

    /// <summary>
    ///  值
    /// </summary>
    public TValue Value { get; set; }

    /// <summary>
    ///  禁用
    /// </summary>
    public bool Disabled { get; set; }

    /// <summary>
    ///  数据
    /// </summary>
    public TData Data { get; set; }

    /// <summary>
    ///  子级
    /// </summary>
    public List<CascadeOptionOutputDto<TValue,TData>> Children { get; set; }
}